package me.zhengjie.modules.houseshowscenehot.service.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

/**
* @author TianI
* @date 2021-12-24
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class HouseShowSceneHotDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场景热点ID")
    /** 防止精度丢失 */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long houseShowSceneHotId;

    @ApiModelProperty(value = "场景ID")
    private Long houseShowSceneId;

    @ApiModelProperty(value = "热点名称")
    private String text;

    @ApiModelProperty(value = "定位参数，X轴（左耳到右耳）旋转（正数往上，负数往下）")
    private Integer pitch;

    @ApiModelProperty(value = "定位参数，y轴（从脚到头）旋转")
    private Integer yaw;

    @ApiModelProperty(value = "定位参数，视野水平高度")
    private Integer roll;

    @ApiModelProperty(value = "热点类型，scene 场景切换热点； info 信息展示；URL 以热点为链接，跳转到其他页面的url")
    private String type;

    @ApiModelProperty(value = "切换到的下一个场景ID,")
    private Long sceneId;

    @ApiModelProperty
    private Long clickHandlerArgs;

    @ApiModelProperty(value = "视频地址,")
    private String video;

    @ApiModelProperty(value = "图片地址")
    private String image;

    @ApiModelProperty(value = "跳转地址")
    private String url;

    @ApiModelProperty(value = "热点图标样式")
    private String cssClass;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
